// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "AssetActionUtility.h"
#include "QuickAssetAction.generated.h"

/**
 * 
 */
UCLASS()
class SUPERMANAGER_API UQuickAssetAction : public UAssetActionUtility
{
	GENERATED_BODY()
public:
	UFUNCTION(CallInEditor)
	void TestFunc();

	UFUNCTION(CallInEditor)
	void DuplicateAssets(int32 NumOfDuplicates);

	UFUNCTION(CallInEditor)
	void AddPrefixes();

	UFUNCTION(CallInEditor)
	void RemoveUnusedAssets();
private:
	TMap<UClass*,FString>PrefixMap = 
{
		{UBlueprint::StaticClass(),TEXT("BP_")},
		//{UStaticMesh::StaticClass(),TEXT("SM_")},
		//{UMaterial::StaticClass(), TEXT("M_")},
		//{UMaterialInstanceConstant::StaticClass(),TEXT("MI_")},
		//{UMaterialFunctionInterface::StaticClass(), TEXT("MF_")},
		//{UParticleSystem::StaticClass(), TEXT("PS_")},
		//{USoundCue::StaticClass(), TEXT("SC_")},
		//{USoundWave::StaticClass(), TEXT("SW_")},
		//{UTexture::StaticClass(), TEXT("T_")},
		//{UTexture2D::StaticClass(), TEXT("T_")},
		//{UUserWidget::StaticClass(), TEXT("WBP_")},
		//{USkeletalMeshComponent::StaticClass(), TEXT("SK_")},
		//{UNiagaraSystem::StaticClass(), TEXT("NS_")},
		//{UNiagaraEmitter::StaticClass(), TEXT("NE_")}
};

	void FixUpRedirectors();
};
